package com.sdry.entity.base;

import java.util.Date;

import com.sdry.utils.PageBean;
/**
 * 
 * @ClassName:Staff
 * @Description:员工
 * @Author tdd
 * @Date 2018年4月25日下午5:06:23
 * @version 1.0
 */
public class Staff extends PageBean{
    /**
     * t_staff.staid
     * id
     */
    private Long staid;

    /**
     * t_staff.scode
     * 工号
     */
    private String scode;

    /**
     * t_staff.sname
     * 姓名
     */
    private String sname;

    /**
     * t_staff.sex
     * 性别
     */
    private String sex;

    /**
     * t_staff.sbir
     * 出生 日期
     */
    private Date sbir;

    /**
     * t_staff.pass
     * 密码
     */
    private String pass;

    /**
     * t_staff.did
     * 部门id
     */
    private Long did;
    private Department department;

    public Department getDepartment() {
		return department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	/**
     * t_staff.pid
     * 职务id
     */
    private Long pid;
    private Job job;

    public Job getJob() {
		return job;
	}

	public void setJob(Job job) {
		this.job = job;
	}

	/**
     * t_staff.rid
     * 地区
     */
    private Long rid;
    private Reg reg;

    public Reg getReg() {
		return reg;
	}

	public void setReg(Reg reg) {
		this.reg = reg;
	}

	/**
     * t_staff.isndate
     * 入社日期
     */
    private Date isndate;

    /**
     * t_staff.sway
     * 联系方式
     */
    private String sway;

    /**
     * t_staff.seducation
     * 学历
     */
    private String seducation;

    /**
     * t_staff.sschool
     * 学校
     */
    private String sschool;

    /**
     * t_staff.smajor
     * 专业
     */
    private String smajor;

    /**
     * t_staff.sqq
     * qq
     */
    private String sqq;

    /**
     * t_staff.smail
     * 邮箱
     */
    private String smail;

    /**
     * t_staff.saddress
     * 家庭住址
     */
    private String saddress;

    /**
     * t_staff.sman
     * 紧急联系人
     */
    private String sman;

    /**
     * t_staff.stele
     * 紧急联系人联系方式
     */
    private String stele;

    /**
     * t_staff.sremark
     * 备注
     */
    private String sremark;

    /**
     * t_staff.sentry
     * 录入人
     */
    private String sentry;

    /**
     * t_staff.sentrytime
     * 录入时间
     */
    private String sentrytime;

    /**
     * t_staff.sreserve1
     * 备注1（签名信息）
     */
    private String sreserve1;

    /**
     * t_staff.sreserve2
     * 备注2
     */
    private String sreserve2;

    /**
     * t_staff.sreserve3
     * 备注3
     */
    private String sreserve3;

    /**
     * t_staff.sreserve4
     * 备注4
     */
    private String sreserve4;

    /**
     * t_staff.sreserve5
     * 备注5
     */
    private String sreserve5;

    public Long getStaid() {
        return staid;
    }

    public void setStaid(Long staid) {
        this.staid = staid;
    }

    public String getScode() {
        return scode;
    }

    public void setScode(String scode) {
        this.scode = scode == null ? null : scode.trim();
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname == null ? null : sname.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Date getSbir() {
        return sbir;
    }

    public void setSbir(Date sbir) {
        this.sbir = sbir;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass == null ? null : pass.trim();
    }

    public Long getDid() {
        return did;
    }

    public void setDid(Long did) {
        this.did = did;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Long getRid() {
        return rid;
    }

    public void setRid(Long rid) {
        this.rid = rid;
    }

    public Date getIsndate() {
        return isndate;
    }

    public void setIsndate(Date isndate) {
        this.isndate = isndate;
    }

    public String getSway() {
        return sway;
    }

    public void setSway(String sway) {
        this.sway = sway == null ? null : sway.trim();
    }

    public String getSeducation() {
        return seducation;
    }

    public void setSeducation(String seducation) {
        this.seducation = seducation == null ? null : seducation.trim();
    }

    public String getSschool() {
        return sschool;
    }

    public void setSschool(String sschool) {
        this.sschool = sschool == null ? null : sschool.trim();
    }

    public String getSmajor() {
        return smajor;
    }

    public void setSmajor(String smajor) {
        this.smajor = smajor == null ? null : smajor.trim();
    }

    public String getSqq() {
        return sqq;
    }

    public void setSqq(String sqq) {
        this.sqq = sqq == null ? null : sqq.trim();
    }

    public String getSmail() {
        return smail;
    }

    public void setSmail(String smail) {
        this.smail = smail == null ? null : smail.trim();
    }

    public String getSaddress() {
        return saddress;
    }

    public void setSaddress(String saddress) {
        this.saddress = saddress == null ? null : saddress.trim();
    }

    public String getSman() {
        return sman;
    }

    public void setSman(String sman) {
        this.sman = sman == null ? null : sman.trim();
    }

    public String getStele() {
        return stele;
    }

    public void setStele(String stele) {
        this.stele = stele == null ? null : stele.trim();
    }

    public String getSremark() {
        return sremark;
    }

    public void setSremark(String sremark) {
        this.sremark = sremark == null ? null : sremark.trim();
    }

    public String getSentry() {
        return sentry;
    }

    public void setSentry(String sentry) {
        this.sentry = sentry == null ? null : sentry.trim();
    }

    public String getSentrytime() {
        return sentrytime;
    }

    public void setSentrytime(String sentrytime) {
        this.sentrytime = sentrytime == null ? null : sentrytime.trim();
    }

    public String getSreserve1() {
        return sreserve1;
    }

    public void setSreserve1(String sreserve1) {
        this.sreserve1 = sreserve1 == null ? null : sreserve1.trim();
    }

    public String getSreserve2() {
        return sreserve2;
    }

    public void setSreserve2(String sreserve2) {
        this.sreserve2 = sreserve2 == null ? null : sreserve2.trim();
    }

    public String getSreserve3() {
        return sreserve3;
    }

    public void setSreserve3(String sreserve3) {
        this.sreserve3 = sreserve3 == null ? null : sreserve3.trim();
    }

    public String getSreserve4() {
        return sreserve4;
    }

    public void setSreserve4(String sreserve4) {
        this.sreserve4 = sreserve4 == null ? null : sreserve4.trim();
    }

    public String getSreserve5() {
        return sreserve5;
    }

    public void setSreserve5(String sreserve5) {
        this.sreserve5 = sreserve5 == null ? null : sreserve5.trim();
    }

	@Override
	public String toString() {
		return "Staff [staid=" + staid + ", scode=" + scode + ", sname=" + sname + ", sex=" + sex + ", sbir=" + sbir
				+ ", pass=" + pass + ", did=" + did + ", department=" + department + ", pid=" + pid + ", job=" + job
				+ ", rid=" + rid + ", reg=" + reg + ", isndate=" + isndate + ", sway=" + sway + ", seducation="
				+ seducation + ", sschool=" + sschool + ", smajor=" + smajor + ", sqq=" + sqq + ", smail=" + smail
				+ ", saddress=" + saddress + ", sman=" + sman + ", stele=" + stele + ", sremark=" + sremark
				+ ", sentry=" + sentry + ", sentrytime=" + sentrytime + ", sreserve1=" + sreserve1 + ", sreserve2="
				+ sreserve2 + ", sreserve3=" + sreserve3 + ", sreserve4=" + sreserve4 + ", sreserve5=" + sreserve5
				+ "]";
	}
    
}